package com.sg.service.biz.bff.impl;

import cn.hutool.core.bean.BeanUtil;
import com.sg.common.util.CommonFunctionHelper;
import com.sg.common.util.RedisUtil;
import com.sg.dto.biz.bff.req.*;
import com.sg.dto.biz.bff.res.*;
import com.sg.dto.integration.calc.CycleCalculateExaReportTaskAndCalcCurAndAnceStdDataComReqDto;
import com.sg.dto.integration.calc.CycleCalculateExaReportTaskAndCalcCurAndAnceStdDataComRespDto;
import com.sg.dto.integration.calc.ImplementParentSubMidCycleTypeAnalysisComReqDto;
import com.sg.dto.integration.calc.ImplementParentSubMidCycleTypeAnalysisComRespDto;
import com.sg.dto.integration.component.GenerateDataObjectBatchCodeComReqDto;
import com.sg.dto.integration.component.GenerateDataObjectBatchCodeComRespDto;
import com.sg.dto.integration.component.ImplementPrepareTargetReachedCalcConfComReqDto;
import com.sg.dto.integration.component.ImplementPrepareTargetReachedCalcConfComRespDto;
import com.sg.service.biz.bff.TargetCalcService;
import com.wicket.okrapp.integration.AchievementService;
import com.wicket.okrapp.integration.EvaCalcService;
import com.wicket.okrapp.integration.TargetCalcService;
import com.wicket.okrapp.integration.TimingTaskService;
import com.wicket.okrapp.integration.dto.*;
import com.sg.common.exception.Assert;
import com.wicket.okrcalc.integration.StandardDataService;
import com.wicket.okrcalc.integration.TargetCalcService;
import com.wicket.okrcomponent.integration.InterfaceModeService;
import com.wicket.okrcomponent.integration.TargetCalcService;
import org.apache.skywalking.apm.toolkit.trace.Tag;
import org.apache.skywalking.apm.toolkit.trace.Tags;
import org.apache.skywalking.apm.toolkit.trace.Trace;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.stream.Collectors;

/**
 * @author ：
 * @version 1.0
 * @date ：
 */
@Service
public class TargetCalcServiceImpl implements TargetCalcService {

    @Resource
    private RedisUtil redisUtil;
    @Resource
    com.sg.service.biz.app.AchievementService fwAppAchievementClient;
    @Resource
    com.sg.service.biz.app.TargetCalcService fwAppTargetCalcClient;
    @Resource
    com.sg.service.biz.app.TimingTaskService fwAppTimingTaskClient;
    @Resource
    com.sg.service.biz.component.InterfaceModeService fwCompInterfaceModeClient;

    @Resource
    com.sg.service.biz.component.TargetCalcService fwCompTargetCalcClient;

    @Resource
    com.sg.service.biz.calc.StandardDataService fwCalcStandardDataClient;
    @Resource
    com.sg.service.biz.app.EvaCalcService fwAppEvaCalcClient;
    @Resource
    com.sg.service.biz.calc.TargetCalcService fwCalcTargetCalcClient;

    /**
     * B3执行对接成果增指标实际值[9309]
     * gen by moon at 7/13/2024, 2:07:17 PM
     */
    @Trace(operationName = "B3执行对接成果增指标实际值")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffImplementDockAchievementObjectiveActualRespDto implementDockAchievementObjectiveActual(BffImplementDockAchievementObjectiveActualReqDto reqDto) {


        //步骤0: D3新增对接成果关系业务处理(公共) - addAchievementDockingBusinessHandleCom
        AddAchievementDockingBusinessHandleComRespDto addAchievementDockingBusinessHandleComRespDto = null;
        AddAchievementDockingBusinessHandleComReqDto addAchievementDockingBusinessHandleComReqDto = new AddAchievementDockingBusinessHandleComReqDto();
        addAchievementDockingBusinessHandleComReqDto.setTargetCycleContentTypeCode("OBJECTIVE");//sourceId:1703093_1
        addAchievementDockingBusinessHandleComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1703096_1
        if (reqDto != null) {
            addAchievementDockingBusinessHandleComReqDto.setAchievementId(reqDto.getAchievementId());//SimpleFieldAssign//sourceId:1703079_1
            addAchievementDockingBusinessHandleComReqDto.setIsSymbolicAchievement(reqDto.getIsSymbolicAchievement());//SimpleFieldAssign//sourceId:1703089_1
            addAchievementDockingBusinessHandleComReqDto.setCycleStageDataId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:1703091_1
            addAchievementDockingBusinessHandleComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:1703092_1
            addAchievementDockingBusinessHandleComReqDto.setCycleTypeCode(reqDto.getCycleTypeCode());//SimpleFieldAssign//sourceId:1785691_1
            addAchievementDockingBusinessHandleComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1703098_1
            addAchievementDockingBusinessHandleComReqDto.setTargetCycleContentId(reqDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:1703094_1
            addAchievementDockingBusinessHandleComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1703095_1
        }

        /*D3新增对接成果关系业务处理(公共)[9301]   */
        Assert.isNull(addAchievementDockingBusinessHandleComReqDto.getAchievementId(), "B3执行对接成果增指标实际值-D3新增对接成果关系业务处理(公共)-关联成果ID不能为空", false);
        Assert.isNull(addAchievementDockingBusinessHandleComReqDto.getIsSymbolicAchievement(), "B3执行对接成果增指标实际值-D3新增对接成果关系业务处理(公共)-是否标志性成果不能为空", false);
        Assert.isNull(addAchievementDockingBusinessHandleComReqDto.getCycleStageDataId(), "B3执行对接成果增指标实际值-D3新增对接成果关系业务处理(公共)-归属周期阶段资料ID不能为空", false);
        Assert.isNull(addAchievementDockingBusinessHandleComReqDto.getUpdateCycleId(), "B3执行对接成果增指标实际值-D3新增对接成果关系业务处理(公共)-更新周期ID不能为空", false);
        Assert.isNull(addAchievementDockingBusinessHandleComReqDto.getCycleTypeCode(), "B3执行对接成果增指标实际值-D3新增对接成果关系业务处理(公共)-周期类型标识不能为空", false);
        Assert.isNull(addAchievementDockingBusinessHandleComReqDto.getEvaObjTargetCycleId(), "B3执行对接成果增指标实际值-D3新增对接成果关系业务处理(公共)-归属子周期被评对象目标周期ID不能为空", false);
        Assert.isNull(addAchievementDockingBusinessHandleComReqDto.getTargetCycleContentTypeCode(), "B3执行对接成果增指标实际值-D3新增对接成果关系业务处理(公共)-归属目标内容类型编码不能为空", false);
        Assert.isNull(addAchievementDockingBusinessHandleComReqDto.getTargetCycleContentId(), "B3执行对接成果增指标实际值-D3新增对接成果关系业务处理(公共)-归属目标内容ID不能为空", false);
        Assert.isNull(addAchievementDockingBusinessHandleComReqDto.getEvaluationTemplateId(), "B3执行对接成果增指标实际值-D3新增对接成果关系业务处理(公共)-归属评价模板ID不能为空", false);
        Assert.isNull(addAchievementDockingBusinessHandleComReqDto.getSpaceId(), "B3执行对接成果增指标实际值-D3新增对接成果关系业务处理(公共)-创建于空间ID不能为空", false);
        addAchievementDockingBusinessHandleComRespDto = fwAppAchievementClient.addAchievementDockingBusinessHandleCom(addAchievementDockingBusinessHandleComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        BffImplementDockAchievementObjectiveActualRespDto retData = new BffImplementDockAchievementObjectiveActualRespDto();


        return retData;
    }

    /**
     * B3查询待汇报任务标准数据及提示文案[8636]
     * gen by moon at 4/10/2024, 11:45:15 PM
     */
    @Trace(operationName = "B3查询待汇报任务标准数据及提示文案")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryToBeReportedTaskStandardDataAndTipsDetailRespDto queryToBeReportedTaskStandardDataAndTipsDetail(BffQueryToBeReportedTaskStandardDataAndTipsDetailReqDto reqDto) {


        ImplementToBeReportedTaskStandardDataAndTipsComRespDto implementToBeReportedTaskStandardDataAndTipsComRespDto_1 = null;
//步骤0: D3查询待汇报任务标准数据详情及提示文案(公共) - implementToBeReportedTaskStandardDataAndTipsCom
        ImplementToBeReportedTaskStandardDataAndTipsComRespDto implementToBeReportedTaskStandardDataAndTipsComRespDto = null;
        ImplementToBeReportedTaskStandardDataAndTipsComReqDto implementToBeReportedTaskStandardDataAndTipsComReqDto = new ImplementToBeReportedTaskStandardDataAndTipsComReqDto();
        if (reqDto != null) {
            implementToBeReportedTaskStandardDataAndTipsComReqDto.setTaskId(reqDto.getTaskId());//SimpleFieldAssign//sourceId:1607780_1
            implementToBeReportedTaskStandardDataAndTipsComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1607781_1
            implementToBeReportedTaskStandardDataAndTipsComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1607782_1
            implementToBeReportedTaskStandardDataAndTipsComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1607783_1
        }

        /*D3查询待汇报任务标准数据详情及提示文案(公共)[8628]   */
        Assert.isNull(implementToBeReportedTaskStandardDataAndTipsComReqDto.getTaskId(), "B3查询待汇报任务标准数据及提示文案-D3查询待汇报任务标准数据详情及提示文案(公共)-任务ID不能为空", false);
        Assert.isNull(implementToBeReportedTaskStandardDataAndTipsComReqDto.getCycleId(), "B3查询待汇报任务标准数据及提示文案-D3查询待汇报任务标准数据详情及提示文案(公共)-周期ID不能为空", false);
        Assert.isNull(implementToBeReportedTaskStandardDataAndTipsComReqDto.getEvaObjTargetCycleId(), "B3查询待汇报任务标准数据及提示文案-D3查询待汇报任务标准数据详情及提示文案(公共)-被评对象目标周期ID不能为空", false);
        Assert.isNull(implementToBeReportedTaskStandardDataAndTipsComReqDto.getEvaluationTemplateId(), "B3查询待汇报任务标准数据及提示文案-D3查询待汇报任务标准数据详情及提示文案(公共)-冗余评价模板ID不能为空", false);
        implementToBeReportedTaskStandardDataAndTipsComRespDto = fwAppTargetCalcClient.implementToBeReportedTaskStandardDataAndTipsCom(implementToBeReportedTaskStandardDataAndTipsComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        implementToBeReportedTaskStandardDataAndTipsComRespDto_1 = implementToBeReportedTaskStandardDataAndTipsComRespDto;

        BffQueryToBeReportedTaskStandardDataAndTipsDetailRespDto retData = new BffQueryToBeReportedTaskStandardDataAndTipsDetailRespDto();
        if (implementToBeReportedTaskStandardDataAndTipsComRespDto_1 != null) {
            retData.setProgressValueElement(implementToBeReportedTaskStandardDataAndTipsComRespDto_1.getProgressValueElement());//SimpleFieldAssign//sourceId:1712684_1
            retData.setActualValueElement(implementToBeReportedTaskStandardDataAndTipsComRespDto_1.getActualValueElement());//SimpleFieldAssign//sourceId:1712685_1
            retData.setBudgetAmountElement(implementToBeReportedTaskStandardDataAndTipsComRespDto_1.getBudgetAmountElement());//SimpleFieldAssign//sourceId:1712686_1
            retData.setSubmitStandardDataTips(implementToBeReportedTaskStandardDataAndTipsComRespDto_1.getSubmitStandardDataTips());//SimpleFieldAssign//sourceId:1718987_1
            retData.setShowTargetValue(implementToBeReportedTaskStandardDataAndTipsComRespDto_1.getShowTargetValue());//SimpleFieldAssign//sourceId:1712687_1
            retData.setUnit(implementToBeReportedTaskStandardDataAndTipsComRespDto_1.getUnit());//SimpleFieldAssign//sourceId:1712688_1
            retData.setSchemeDataPara(implementToBeReportedTaskStandardDataAndTipsComRespDto_1.getSchemeDataPara());//SimpleFieldAssign//sourceId:1712689_1
            retData.setTargetValueType(implementToBeReportedTaskStandardDataAndTipsComRespDto_1.getTargetValueType());//SimpleFieldAssign//sourceId:1712690_1
            retData.setIsLeft(implementToBeReportedTaskStandardDataAndTipsComRespDto_1.getIsLeft());//SimpleFieldAssign//sourceId:1712691_1
            retData.setIncreasesDropDecimalPoint(implementToBeReportedTaskStandardDataAndTipsComRespDto_1.getIncreasesDropDecimalPoint());//SimpleFieldAssign//sourceId:1712692_1
            retData.setDecimalDigitsLastRules(implementToBeReportedTaskStandardDataAndTipsComRespDto_1.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:1712693_1
            retData.setProgressValue(implementToBeReportedTaskStandardDataAndTipsComRespDto_1.getProgressValue());//SimpleFieldAssign//sourceId:1712694_1
            retData.setParentProgressValue(implementToBeReportedTaskStandardDataAndTipsComRespDto_1.getParentProgressValue());//SimpleFieldAssign//sourceId:1712695_1
            retData.setProgressValueUnit(implementToBeReportedTaskStandardDataAndTipsComRespDto_1.getProgressValueUnit());//SimpleFieldAssign//sourceId:1712696_1
            retData.setCountProgressValue(implementToBeReportedTaskStandardDataAndTipsComRespDto_1.getCountProgressValue());//SimpleFieldAssign//sourceId:1712697_1
            retData.setCountProgressValueUnit(implementToBeReportedTaskStandardDataAndTipsComRespDto_1.getCountProgressValueUnit());//SimpleFieldAssign//sourceId:1712698_1
            retData.setActualValue(implementToBeReportedTaskStandardDataAndTipsComRespDto_1.getActualValue());//SimpleFieldAssign//sourceId:1712699_1
            retData.setParentActualValue(implementToBeReportedTaskStandardDataAndTipsComRespDto_1.getParentActualValue());//SimpleFieldAssign//sourceId:1712700_1
            retData.setActualValueUnit(implementToBeReportedTaskStandardDataAndTipsComRespDto_1.getActualValueUnit());//SimpleFieldAssign//sourceId:1712701_1
            retData.setCountActualValue(implementToBeReportedTaskStandardDataAndTipsComRespDto_1.getCountActualValue());//SimpleFieldAssign//sourceId:1712702_1
            retData.setCountActualValueUnit(implementToBeReportedTaskStandardDataAndTipsComRespDto_1.getCountActualValueUnit());//SimpleFieldAssign//sourceId:1712703_1
            retData.setBudgetDisburse(implementToBeReportedTaskStandardDataAndTipsComRespDto_1.getBudgetDisburse());//SimpleFieldAssign//sourceId:1712704_1
            retData.setParentBudgetDisburse(implementToBeReportedTaskStandardDataAndTipsComRespDto_1.getParentBudgetDisburse());//SimpleFieldAssign//sourceId:1712705_1
            retData.setCumulativeFundsExpend(implementToBeReportedTaskStandardDataAndTipsComRespDto_1.getCumulativeFundsExpend());//SimpleFieldAssign//sourceId:1712706_1
            retData.setCashAccountUnit(implementToBeReportedTaskStandardDataAndTipsComRespDto_1.getCashAccountUnit());//SimpleFieldAssign//sourceId:1712707_1
            retData.setAccountSubjectList(implementToBeReportedTaskStandardDataAndTipsComRespDto_1.getAccountSubjectList().stream().map(item -> BeanUtil.toBean(item, BffAccountSubjectDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1714466_1
        }


        return retData;
    }

    /**
     * B3查询汇报任务标准数据及元素文案[9425]
     * gen by moon at 12/21/2024, 6:53:31 PM
     */
    @Trace(operationName = "B3查询汇报任务标准数据及元素文案")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryReportTaskStandardDataAndElementTipsDetailRespDto queryReportTaskStandardDataAndElementTipsDetail(BffQueryReportTaskStandardDataAndElementTipsDetailReqDto reqDto) {


        QueryReportTaskStandardDataAndElementTipsDetailComRespDto queryReportTaskStandardDataAndElementTipsDetailComRespDto_1 = null;
        QueryReportAccountSubjectEtcInfoListComRespDto queryReportAccountSubjectEtcInfoListComRespDto_1 = null;
//步骤0: D3查询汇报任务标准数据及元素文案(公共) - queryReportTaskStandardDataAndElementTipsDetailCom
        QueryReportTaskStandardDataAndElementTipsDetailComRespDto queryReportTaskStandardDataAndElementTipsDetailComRespDto = null;
        QueryReportTaskStandardDataAndElementTipsDetailComReqDto queryReportTaskStandardDataAndElementTipsDetailComReqDto = new QueryReportTaskStandardDataAndElementTipsDetailComReqDto();
        queryReportTaskStandardDataAndElementTipsDetailComReqDto.setEvaObjEntityId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1743802_1
        queryReportTaskStandardDataAndElementTipsDetailComReqDto.setEvaObjTypeCode("EVA_OBJECT");//sourceId:1743803_1
        queryReportTaskStandardDataAndElementTipsDetailComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1743804_1
        if (reqDto != null) {
            queryReportTaskStandardDataAndElementTipsDetailComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1743799_1
            queryReportTaskStandardDataAndElementTipsDetailComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1743798_1
            queryReportTaskStandardDataAndElementTipsDetailComReqDto.setCycleTypeCode(reqDto.getCycleTypeCode());//SimpleFieldAssign//sourceId:1743805_1
            queryReportTaskStandardDataAndElementTipsDetailComReqDto.setTargetCycleContentId(reqDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:1743800_1
            queryReportTaskStandardDataAndElementTipsDetailComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1743801_1
        }

        /*D3查询汇报任务标准数据及元素文案(公共)[9422]   */
        Assert.isNull(queryReportTaskStandardDataAndElementTipsDetailComReqDto.getEvaObjEntityId(), "B3查询汇报任务标准数据及元素文案-D3查询汇报任务标准数据及元素文案(公共)-主树被评对象内容表主键ID不能为空", false);
        Assert.isNull(queryReportTaskStandardDataAndElementTipsDetailComReqDto.getEvaObjTypeCode(), "B3查询汇报任务标准数据及元素文案-D3查询汇报任务标准数据及元素文案(公共)-主树被评对象类型编码不能为空", false);
        Assert.isNull(queryReportTaskStandardDataAndElementTipsDetailComReqDto.getEvaObjTargetCycleId(), "B3查询汇报任务标准数据及元素文案-D3查询汇报任务标准数据及元素文案(公共)-被评对象目标周期ID不能为空", false);
        Assert.isNull(queryReportTaskStandardDataAndElementTipsDetailComReqDto.getCycleId(), "B3查询汇报任务标准数据及元素文案-D3查询汇报任务标准数据及元素文案(公共)-周期ID不能为空", false);
        Assert.isNull(queryReportTaskStandardDataAndElementTipsDetailComReqDto.getCycleTypeCode(), "B3查询汇报任务标准数据及元素文案-D3查询汇报任务标准数据及元素文案(公共)-周期类型标识不能为空", false);
        Assert.isNull(queryReportTaskStandardDataAndElementTipsDetailComReqDto.getTargetCycleContentId(), "B3查询汇报任务标准数据及元素文案-D3查询汇报任务标准数据及元素文案(公共)-关联目标内容ID不能为空", false);
        Assert.isNull(queryReportTaskStandardDataAndElementTipsDetailComReqDto.getEvaluationTemplateId(), "B3查询汇报任务标准数据及元素文案-D3查询汇报任务标准数据及元素文案(公共)-冗余评价模板ID不能为空", false);
        Assert.isNull(queryReportTaskStandardDataAndElementTipsDetailComReqDto.getSpaceId(), "B3查询汇报任务标准数据及元素文案-D3查询汇报任务标准数据及元素文案(公共)-创建于空间ID不能为空", false);
        queryReportTaskStandardDataAndElementTipsDetailComRespDto = fwAppTargetCalcClient.queryReportTaskStandardDataAndElementTipsDetailCom(queryReportTaskStandardDataAndElementTipsDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryReportTaskStandardDataAndElementTipsDetailComRespDto_1 = queryReportTaskStandardDataAndElementTipsDetailComRespDto;

//步骤1: D3查询汇报财务科目等信息(公共) - queryReportAccountSubjectEtcInfoListCom
        QueryReportAccountSubjectEtcInfoListComRespDto queryReportAccountSubjectEtcInfoListComRespDto = null;
        if (queryReportTaskStandardDataAndElementTipsDetailComRespDto != null) {
            QueryReportAccountSubjectEtcInfoListComReqDto queryReportAccountSubjectEtcInfoListComReqDto = new QueryReportAccountSubjectEtcInfoListComReqDto();
            if (queryReportTaskStandardDataAndElementTipsDetailComRespDto != null) {
                queryReportAccountSubjectEtcInfoListComReqDto.setBudgetAmountElement(queryReportTaskStandardDataAndElementTipsDetailComRespDto.getBudgetAmountElement());//SimpleFieldAssign//sourceId:1745011_1
            }
            if (reqDto != null) {
                queryReportAccountSubjectEtcInfoListComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1745012_1
            }

            /*D3查询汇报财务科目等信息(公共)[9426]   */
            Assert.isNull(queryReportAccountSubjectEtcInfoListComReqDto.getEvaluationTemplateId(), "B3查询汇报任务标准数据及元素文案-D3查询汇报财务科目等信息(公共)-冗余评价模板ID不能为空", false);
            queryReportAccountSubjectEtcInfoListComRespDto = fwAppTargetCalcClient.queryReportAccountSubjectEtcInfoListCom(queryReportAccountSubjectEtcInfoListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            queryReportAccountSubjectEtcInfoListComRespDto_1 = queryReportAccountSubjectEtcInfoListComRespDto;
        }

        BffQueryReportTaskStandardDataAndElementTipsDetailRespDto retData = new BffQueryReportTaskStandardDataAndElementTipsDetailRespDto();
        if (queryReportTaskStandardDataAndElementTipsDetailComRespDto_1 != null) {
            retData.setTargetAttributionCycleId(queryReportTaskStandardDataAndElementTipsDetailComRespDto_1.getTargetAttributionCycleId());//SimpleFieldAssign//sourceId:1743833_1
            retData.setProgressValueElement(queryReportTaskStandardDataAndElementTipsDetailComRespDto_1.getProgressValueElement());//SimpleFieldAssign//sourceId:1743834_1
            retData.setProgressValue(queryReportTaskStandardDataAndElementTipsDetailComRespDto_1.getProgressValue());//SimpleFieldAssign//sourceId:1750887_1
            retData.setParentProgressValue(queryReportTaskStandardDataAndElementTipsDetailComRespDto_1.getParentProgressValue());//SimpleFieldAssign//sourceId:1750888_1
            retData.setProgressChangeFromLastValue(queryReportTaskStandardDataAndElementTipsDetailComRespDto_1.getProgressChangeFromLastValue());//SimpleFieldAssign//sourceId:1910387_1
            retData.setProgressChangeFromLastRatio(queryReportTaskStandardDataAndElementTipsDetailComRespDto_1.getProgressChangeFromLastRatio());//SimpleFieldAssign//sourceId:1910388_1
            retData.setProgressValueUnit(queryReportTaskStandardDataAndElementTipsDetailComRespDto_1.getProgressValueUnit());//SimpleFieldAssign//sourceId:1750889_1
            retData.setCountProgressValue(queryReportTaskStandardDataAndElementTipsDetailComRespDto_1.getCountProgressValue());//SimpleFieldAssign//sourceId:1743841_1
            retData.setCountProgressValueUnit(queryReportTaskStandardDataAndElementTipsDetailComRespDto_1.getCountProgressValueUnit());//SimpleFieldAssign//sourceId:1743842_1
            retData.setActualValueElement(queryReportTaskStandardDataAndElementTipsDetailComRespDto_1.getActualValueElement());//SimpleFieldAssign//sourceId:1743835_1
            retData.setActualValue(queryReportTaskStandardDataAndElementTipsDetailComRespDto_1.getActualValue());//SimpleFieldAssign//sourceId:1750890_1
            retData.setParentActualValue(queryReportTaskStandardDataAndElementTipsDetailComRespDto_1.getParentActualValue());//SimpleFieldAssign//sourceId:1750891_1
            retData.setActualChangeFromLastValue(queryReportTaskStandardDataAndElementTipsDetailComRespDto_1.getActualChangeFromLastValue());//SimpleFieldAssign//sourceId:1910389_1
            retData.setActualChangeFromLastRatio(queryReportTaskStandardDataAndElementTipsDetailComRespDto_1.getActualChangeFromLastRatio());//SimpleFieldAssign//sourceId:1910390_1
            retData.setActualValueUnit(queryReportTaskStandardDataAndElementTipsDetailComRespDto_1.getActualValueUnit());//SimpleFieldAssign//sourceId:1750892_1
            retData.setCountActualValue(queryReportTaskStandardDataAndElementTipsDetailComRespDto_1.getCountActualValue());//SimpleFieldAssign//sourceId:1743846_1
            retData.setCountActualValueUnit(queryReportTaskStandardDataAndElementTipsDetailComRespDto_1.getCountActualValueUnit());//SimpleFieldAssign//sourceId:1743847_1
            retData.setObjectiveScore(queryReportTaskStandardDataAndElementTipsDetailComRespDto_1.getObjectiveScore());//SimpleFieldAssign//sourceId:1750893_1
            retData.setObjectiveScoreUnit(queryReportTaskStandardDataAndElementTipsDetailComRespDto_1.getObjectiveScoreUnit());//SimpleFieldAssign//sourceId:1750894_1
            retData.setBudgetAmountElement(queryReportTaskStandardDataAndElementTipsDetailComRespDto_1.getBudgetAmountElement());//SimpleFieldAssign//sourceId:1743836_1
            retData.setBudgetDisburse(queryReportTaskStandardDataAndElementTipsDetailComRespDto_1.getBudgetDisburse());//SimpleFieldAssign//sourceId:1743848_1
            retData.setParentBudgetDisburse(queryReportTaskStandardDataAndElementTipsDetailComRespDto_1.getParentBudgetDisburse());//SimpleFieldAssign//sourceId:1743849_1
            retData.setCumulativeFundsExpend(queryReportTaskStandardDataAndElementTipsDetailComRespDto_1.getCumulativeFundsExpend());//SimpleFieldAssign//sourceId:1743851_1
            retData.setCumulativeFundsExpendUnit(queryReportTaskStandardDataAndElementTipsDetailComRespDto_1.getCumulativeFundsExpendUnit());//SimpleFieldAssign//sourceId:1750896_1
            retData.setBudgetDisburseUnit(queryReportTaskStandardDataAndElementTipsDetailComRespDto_1.getBudgetDisburseUnit());//SimpleFieldAssign//sourceId:1910391_1
            retData.setAccountSubjectld(queryReportTaskStandardDataAndElementTipsDetailComRespDto_1.getAccountSubjectld());//SimpleFieldAssign//sourceId:2037345_1
            retData.setAccountSubjectCode(queryReportTaskStandardDataAndElementTipsDetailComRespDto_1.getAccountSubjectCode());//SimpleFieldAssign//sourceId:2037346_1
            retData.setAccountSubjectName(queryReportTaskStandardDataAndElementTipsDetailComRespDto_1.getAccountSubjectName());//SimpleFieldAssign//sourceId:2037347_1
            retData.setSubmitStandardDataTips(queryReportTaskStandardDataAndElementTipsDetailComRespDto_1.getSubmitStandardDataTips());//SimpleFieldAssign//sourceId:1743837_1
        }
        if (queryReportAccountSubjectEtcInfoListComRespDto_1 != null) {
            retData.setCashAccountUnit(queryReportAccountSubjectEtcInfoListComRespDto_1.getAccountUnit());//SimpleFieldAssign//sourceId:1745017_1
            retData.setAccountSubjectList(queryReportAccountSubjectEtcInfoListComRespDto_1.getAccountSubjectList().stream().map(item -> BeanUtil.toBean(item, BffAccountSubjectDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1745016_1
        }


        return retData;
    }

    /**
     * B3查询汇报任务单KR标准数据[9469]
     * gen by moon at 5/1/2024, 9:11:44 PM
     */
    @Trace(operationName = "B3查询汇报任务单KR标准数据")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryReportTaskSingleKrStdDataDetailRespDto queryReportTaskSingleKrStdDataDetail(BffQueryReportTaskSingleKrStdDataDetailReqDto reqDto) {


        QueryReportTaskSingleKrStdDataDetailComRespDto queryReportTaskSingleKrStdDataDetailComRespDto_1 = null;
//步骤0: D3查询汇报任务单KR标准数据(公共) - queryReportTaskSingleKrStdDataDetailCom
        QueryReportTaskSingleKrStdDataDetailComRespDto queryReportTaskSingleKrStdDataDetailComRespDto = null;
        QueryReportTaskSingleKrStdDataDetailComReqDto queryReportTaskSingleKrStdDataDetailComReqDto = new QueryReportTaskSingleKrStdDataDetailComReqDto();
        queryReportTaskSingleKrStdDataDetailComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1766991_1
        if (reqDto != null) {
            queryReportTaskSingleKrStdDataDetailComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1766987_1
            queryReportTaskSingleKrStdDataDetailComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1766988_1
            queryReportTaskSingleKrStdDataDetailComReqDto.setCycleTypeCode(reqDto.getCycleTypeCode());//SimpleFieldAssign//sourceId:1766989_1
            queryReportTaskSingleKrStdDataDetailComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1766990_1
        }

        /*D3查询汇报任务单KR标准数据(公共)[9468]   */
        Assert.isNull(queryReportTaskSingleKrStdDataDetailComReqDto.getEvaObjTargetCycleId(), "B3查询汇报任务单KR标准数据-D3查询汇报任务单KR标准数据(公共)-被评对象目标周期ID不能为空", false);
        Assert.isNull(queryReportTaskSingleKrStdDataDetailComReqDto.getCycleId(), "B3查询汇报任务单KR标准数据-D3查询汇报任务单KR标准数据(公共)-周期ID不能为空", false);
        Assert.isNull(queryReportTaskSingleKrStdDataDetailComReqDto.getCycleTypeCode(), "B3查询汇报任务单KR标准数据-D3查询汇报任务单KR标准数据(公共)-周期类型标识不能为空", false);
        Assert.isNull(queryReportTaskSingleKrStdDataDetailComReqDto.getEvaluationTemplateId(), "B3查询汇报任务单KR标准数据-D3查询汇报任务单KR标准数据(公共)-冗余评价模板ID不能为空", false);
        Assert.isNull(queryReportTaskSingleKrStdDataDetailComReqDto.getSpaceId(), "B3查询汇报任务单KR标准数据-D3查询汇报任务单KR标准数据(公共)-创建于空间ID不能为空", false);
        queryReportTaskSingleKrStdDataDetailComRespDto = fwAppTargetCalcClient.queryReportTaskSingleKrStdDataDetailCom(queryReportTaskSingleKrStdDataDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryReportTaskSingleKrStdDataDetailComRespDto_1 = queryReportTaskSingleKrStdDataDetailComRespDto;

        BffQueryReportTaskSingleKrStdDataDetailRespDto retData = new BffQueryReportTaskSingleKrStdDataDetailRespDto();
        if (queryReportTaskSingleKrStdDataDetailComRespDto_1 != null) {
            retData.setTargetAttributionCycleId(queryReportTaskSingleKrStdDataDetailComRespDto_1.getTargetAttributionCycleId());//SimpleFieldAssign//sourceId:1767007_1
            retData.setActualValue(queryReportTaskSingleKrStdDataDetailComRespDto_1.getActualValue());//SimpleFieldAssign//sourceId:1767008_1
            retData.setParentActualValue(queryReportTaskSingleKrStdDataDetailComRespDto_1.getParentActualValue());//SimpleFieldAssign//sourceId:1767009_1
            retData.setActualValueUnit(queryReportTaskSingleKrStdDataDetailComRespDto_1.getActualValueUnit());//SimpleFieldAssign//sourceId:1767010_1
            retData.setCountActualValue(queryReportTaskSingleKrStdDataDetailComRespDto_1.getCountActualValue());//SimpleFieldAssign//sourceId:1767011_1
            retData.setCountActualValueUnit(queryReportTaskSingleKrStdDataDetailComRespDto_1.getCountActualValueUnit());//SimpleFieldAssign//sourceId:1767012_1
            retData.setObjectiveScore(queryReportTaskSingleKrStdDataDetailComRespDto_1.getObjectiveScore());//SimpleFieldAssign//sourceId:1767013_1
            retData.setObjectiveScoreUnit(queryReportTaskSingleKrStdDataDetailComRespDto_1.getObjectiveScoreUnit());//SimpleFieldAssign//sourceId:1767014_1
        }


        return retData;
    }

    /**
     * B3执行全模板目标内容偏差天数(管理)[9512]
     * gen by moon at 5/3/2024, 11:46:00 PM
     */
    @Trace(operationName = "B3执行全模板目标内容偏差天数(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffImplementAllTempTargetContDeviationDaysRespDto implementAllTempTargetContDeviationDays(BffImplementAllTempTargetContDeviationDaysReqDto reqDto) {


        //步骤0: D3-3批量更新目标内容偏差天数等数据(公共) - batchRefreshTargetContentDeviationDaysEtcCom
        BatchRefreshTargetContentDeviationDaysEtcComRespDto batchRefreshTargetContentDeviationDaysEtcComRespDto = null;
        BatchRefreshTargetContentDeviationDaysEtcComReqDto batchRefreshTargetContentDeviationDaysEtcComReqDto = new BatchRefreshTargetContentDeviationDaysEtcComReqDto();
        if (reqDto != null) {
            batchRefreshTargetContentDeviationDaysEtcComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1780487_1
        }

        /*D3-3批量更新目标内容偏差天数等数据(公共)[4724]   */
        Assert.isNull(batchRefreshTargetContentDeviationDaysEtcComReqDto.getEvaluationTemplateId(), "B3执行全模板目标内容偏差天数(管理)-D3-3批量更新目标内容偏差天数等数据(公共)-评价模板ID不能为空", false);
        batchRefreshTargetContentDeviationDaysEtcComRespDto = fwAppTimingTaskClient.batchRefreshTargetContentDeviationDaysEtcCom(batchRefreshTargetContentDeviationDaysEtcComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        BffImplementAllTempTargetContDeviationDaysRespDto retData = new BffImplementAllTempTargetContDeviationDaysRespDto();


        return retData;
    }

    /**
     * B3执行全模板执行周期当前及下一周期(管理)[9513]
     * gen by moon at 5/3/2024, 11:46:09 PM
     */
    @Trace(operationName = "B3执行全模板执行周期当前及下一周期(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffImplementAllTempStageCurrentCycleRespDto implementAllTempStageCurrentCycle(BffImplementAllTempStageCurrentCycleReqDto reqDto) {


        //步骤0: D3更新全执行周期阶段当前周期(公共) - refreshAllStageCurrentCycleCom
        RefreshAllStageCurrentCycleComRespDto refreshAllStageCurrentCycleComRespDto = null;
        RefreshAllStageCurrentCycleComReqDto refreshAllStageCurrentCycleComReqDto = new RefreshAllStageCurrentCycleComReqDto();
        refreshAllStageCurrentCycleComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1780491_1
        refreshAllStageCurrentCycleComReqDto.setCreateInductionId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecInductionRecordId());//CURRENT_SPACEID//sourceId:1780491_1
        refreshAllStageCurrentCycleComReqDto.setAppId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecAppId());//CURRENT_SPACEID//sourceId:1780491_1
        if (reqDto != null) {
            refreshAllStageCurrentCycleComReqDto.setTargetCycleContentId(reqDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:1780489_1
            refreshAllStageCurrentCycleComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1780490_1
        }

        /*D3更新全执行周期阶段当前周期(公共)[5009]   */
        Assert.isNull(refreshAllStageCurrentCycleComReqDto.getTargetCycleContentId(), "B3执行全模板执行周期当前及下一周期(管理)-D3更新全执行周期阶段当前周期(公共)-关联目标内容ID不能为空", false);
        Assert.isNull(refreshAllStageCurrentCycleComReqDto.getEvaluationTemplateId(), "B3执行全模板执行周期当前及下一周期(管理)-D3更新全执行周期阶段当前周期(公共)-冗余评价模板ID不能为空", false);
        Assert.isNull(refreshAllStageCurrentCycleComReqDto.getSpaceId(), "B3执行全模板执行周期当前及下一周期(管理)-D3更新全执行周期阶段当前周期(公共)-创建于空间ID不能为空", false);
        refreshAllStageCurrentCycleComRespDto = fwAppTimingTaskClient.refreshAllStageCurrentCycleCom(refreshAllStageCurrentCycleComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        BffImplementAllTempStageCurrentCycleRespDto retData = new BffImplementAllTempStageCurrentCycleRespDto();


        return retData;
    }

    /**
     * B3刷规划/OKR/绩效全模板目标达成情况[9665]
     * gen by moon at 7/7/2024, 6:35:22 PM
     */
    @Trace(operationName = "B3刷规划/OKR/绩效全模板目标达成情况")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffImplementBrushFullTempTargetReachedRespDto implementBrushFullTempTargetReached(BffImplementBrushFullTempTargetReachedReqDto reqDto) {


        //步骤0: D2生成数据对象批次标识(公共) - generateDataObjectBatchCodeCom
        GenerateDataObjectBatchCodeComRespDto generateDataObjectBatchCodeComRespDto = null;
        GenerateDataObjectBatchCodeComReqDto generateDataObjectBatchCodeComReqDto = new GenerateDataObjectBatchCodeComReqDto();


        /*D2生成数据对象批次标识(公共)[9404]   */

        generateDataObjectBatchCodeComRespDto = fwCompInterfaceModeClient.generateDataObjectBatchCodeCom(generateDataObjectBatchCodeComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


//步骤1: D2准备目标完成数与完成率计算配置(公共) - implementPrepareTargetReachedCalcConfCom
        ImplementPrepareTargetReachedCalcConfComRespDto implementPrepareTargetReachedCalcConfComRespDto = null;
        ImplementPrepareTargetReachedCalcConfComReqDto implementPrepareTargetReachedCalcConfComReqDto = new ImplementPrepareTargetReachedCalcConfComReqDto();
        if (reqDto != null) {
            implementPrepareTargetReachedCalcConfComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1820902_1
        }

        /*D2准备目标完成数与完成率计算配置(公共)[9666]   */
        Assert.isNull(implementPrepareTargetReachedCalcConfComReqDto.getEvaluationTemplateId(), "B3刷规划/OKR/绩效全模板目标达成情况-D2准备目标完成数与完成率计算配置(公共)-冗余评价模板ID不能为空", false);
        implementPrepareTargetReachedCalcConfComRespDto = fwCompTargetCalcClient.implementPrepareTargetReachedCalcConfCom(implementPrepareTargetReachedCalcConfComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


//步骤2: D4-执行父子中周期类型分析(公共) - implementParentSubMidCycleTypeAnalysisCom
        ImplementParentSubMidCycleTypeAnalysisComRespDto implementParentSubMidCycleTypeAnalysisComRespDto = null;
        ImplementParentSubMidCycleTypeAnalysisComReqDto implementParentSubMidCycleTypeAnalysisComReqDto = new ImplementParentSubMidCycleTypeAnalysisComReqDto();
        if (reqDto != null) {
            implementParentSubMidCycleTypeAnalysisComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:1923403_1
            implementParentSubMidCycleTypeAnalysisComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1923402_1
        }

        /*D4-执行父子中周期类型分析(公共)[6228]   */
        Assert.isNull(implementParentSubMidCycleTypeAnalysisComReqDto.getParentSubMidCycleType(), "B3刷规划/OKR/绩效全模板目标达成情况-D4-执行父子中周期类型分析(公共)-父子中周期类型不能为空", false);
        Assert.isNull(implementParentSubMidCycleTypeAnalysisComReqDto.getCycleId(), "B3刷规划/OKR/绩效全模板目标达成情况-D4-执行父子中周期类型分析(公共)-周期ID不能为空", false);
        implementParentSubMidCycleTypeAnalysisComRespDto = fwCalcStandardDataClient.implementParentSubMidCycleTypeAnalysisCom(implementParentSubMidCycleTypeAnalysisComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


//步骤3: D3执行分段刷规划/OKR/绩效全模板目标达成情况 - implementBrushFullTempTargetReached
        ImplementBrushFullTempTargetReachedRespDto implementBrushFullTempTargetReachedRespDto = null;
        if (generateDataObjectBatchCodeComRespDto != null) {
            ImplementBrushFullTempTargetReachedReqDto implementBrushFullTempTargetReachedReqDto = new ImplementBrushFullTempTargetReachedReqDto();
            implementBrushFullTempTargetReachedReqDto.setCalcStartTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:1820586_1
            if (reqDto != null) {
                implementBrushFullTempTargetReachedReqDto.setCalcBusinessScence(reqDto.getCalcBusinessScence());//SimpleFieldAssign//sourceId:1820579_1
                implementBrushFullTempTargetReachedReqDto.setDataUsageSceneCode(reqDto.getDataUsageSceneCode());//SimpleFieldAssign//sourceId:1820587_1
                implementBrushFullTempTargetReachedReqDto.setDatasNum(reqDto.getDatasNum());//SimpleFieldAssign//sourceId:1923371_1
                implementBrushFullTempTargetReachedReqDto.setEvaObjEntityId(reqDto.getEvaObjEntityId());//SimpleFieldAssign//sourceId:1820580_1
                implementBrushFullTempTargetReachedReqDto.setEvaObjTypeCode(reqDto.getEvaObjTypeCode());//SimpleFieldAssign//sourceId:1820581_1
                implementBrushFullTempTargetReachedReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1820582_1
            }
            if (generateDataObjectBatchCodeComRespDto != null) {
                implementBrushFullTempTargetReachedReqDto.setDataObjectBatchCode(generateDataObjectBatchCodeComRespDto.getDataObjectBatchCode());//SimpleFieldAssign//sourceId:1820588_1
            }
            if (implementParentSubMidCycleTypeAnalysisComRespDto != null) {
                implementBrushFullTempTargetReachedReqDto.setParentSubMidCycleType(implementParentSubMidCycleTypeAnalysisComRespDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:1923372_1
                implementBrushFullTempTargetReachedReqDto.setCycleId(implementParentSubMidCycleTypeAnalysisComRespDto.getCycleId());//SimpleFieldAssign//sourceId:1923373_1
            }
            if (implementPrepareTargetReachedCalcConfComRespDto != null) {
                implementBrushFullTempTargetReachedReqDto.setSchemeDataPara(implementPrepareTargetReachedCalcConfComRespDto.getSchemeDataPara());//SimpleFieldAssign//sourceId:1820583_1
                implementBrushFullTempTargetReachedReqDto.setDecimalPointRules(implementPrepareTargetReachedCalcConfComRespDto.getDegreeDecimalPoint());//SimpleFieldAssign//sourceId:1820584_1
                implementBrushFullTempTargetReachedReqDto.setDecimalDigitsLastRules(implementPrepareTargetReachedCalcConfComRespDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:1820585_1
            }

            /*D3执行分段刷规划/OKR/绩效全模板目标达成情况[9662]   */
            Assert.isNull(implementBrushFullTempTargetReachedReqDto.getCalcStartTime(), "B3刷规划/OKR/绩效全模板目标达成情况-D3执行分段刷规划/OKR/绩效全模板目标达成情况-计算开始时间不能为空", false);
            Assert.isNull(implementBrushFullTempTargetReachedReqDto.getCalcBusinessScence(), "B3刷规划/OKR/绩效全模板目标达成情况-D3执行分段刷规划/OKR/绩效全模板目标达成情况-计算业务场景不能为空", false);
            Assert.isNull(implementBrushFullTempTargetReachedReqDto.getDataUsageSceneCode(), "B3刷规划/OKR/绩效全模板目标达成情况-D3执行分段刷规划/OKR/绩效全模板目标达成情况-数据业务场景不能为空", false);
            Assert.isNull(implementBrushFullTempTargetReachedReqDto.getDataObjectBatchCode(), "B3刷规划/OKR/绩效全模板目标达成情况-D3执行分段刷规划/OKR/绩效全模板目标达成情况-数据对象批次标识不能为空", false);
            Assert.isNull(implementBrushFullTempTargetReachedReqDto.getDatasNum(), "B3刷规划/OKR/绩效全模板目标达成情况-D3执行分段刷规划/OKR/绩效全模板目标达成情况-数据条数不能为空", false);
            Assert.isNull(implementBrushFullTempTargetReachedReqDto.getEvaObjEntityId(), "B3刷规划/OKR/绩效全模板目标达成情况-D3执行分段刷规划/OKR/绩效全模板目标达成情况-主树被评对象内容表主键ID不能为空", false);
            Assert.isNull(implementBrushFullTempTargetReachedReqDto.getEvaObjTypeCode(), "B3刷规划/OKR/绩效全模板目标达成情况-D3执行分段刷规划/OKR/绩效全模板目标达成情况-主树被评对象类型编码不能为空", false);
            Assert.isNull(implementBrushFullTempTargetReachedReqDto.getParentSubMidCycleType(), "B3刷规划/OKR/绩效全模板目标达成情况-D3执行分段刷规划/OKR/绩效全模板目标达成情况-父子中过程周期类型不能为空", false);
            Assert.isNull(implementBrushFullTempTargetReachedReqDto.getEvaluationTemplateId(), "B3刷规划/OKR/绩效全模板目标达成情况-D3执行分段刷规划/OKR/绩效全模板目标达成情况-冗余评价模板ID不能为空", false);
            Assert.isNull(implementBrushFullTempTargetReachedReqDto.getDecimalPointRules(), "B3刷规划/OKR/绩效全模板目标达成情况-D3执行分段刷规划/OKR/绩效全模板目标达成情况-小数点规则不能为空", false);
            Assert.isNull(implementBrushFullTempTargetReachedReqDto.getDecimalDigitsLastRules(), "B3刷规划/OKR/绩效全模板目标达成情况-D3执行分段刷规划/OKR/绩效全模板目标达成情况-小数最后一位规则不能为空", false);
            implementBrushFullTempTargetReachedRespDto = fwAppTargetCalcClient.implementBrushFullTempTargetReached(implementBrushFullTempTargetReachedReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        }

        BffImplementBrushFullTempTargetReachedRespDto retData = new BffImplementBrushFullTempTargetReachedRespDto();


        return retData;
    }

    /**
     * B4执行审核汇报任务并计算当前及祖先标准数据[10246]
     * gen by moon at 9/26/2024, 6:51:41 PM
     */
    @Trace(operationName = "B4执行审核汇报任务并计算当前及祖先标准数据")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffImplementExaReportTaskAndCalcCurAndAnceStdDataRespDto implementExaReportTaskAndCalcCurAndAnceStdData(BffImplementExaReportTaskAndCalcCurAndAnceStdDataReqDto reqDto) {


        //步骤0: D4循环审核汇报任务并计算当前及祖先标准数据(公共) - cycleCalculateExaReportTaskAndCalcCurAndAnceStdDataCom
        CycleCalculateExaReportTaskAndCalcCurAndAnceStdDataComRespDto cycleCalculateExaReportTaskAndCalcCurAndAnceStdDataComRespDto = null;
        CycleCalculateExaReportTaskAndCalcCurAndAnceStdDataComReqDto cycleCalculateExaReportTaskAndCalcCurAndAnceStdDataComReqDto = new CycleCalculateExaReportTaskAndCalcCurAndAnceStdDataComReqDto();
        cycleCalculateExaReportTaskAndCalcCurAndAnceStdDataComReqDto.setDataUsageSceneCode("TARGET_PLAN_CALC_DATA_STATISTICS");//sourceId:2011226_1
        cycleCalculateExaReportTaskAndCalcCurAndAnceStdDataComReqDto.setEvaObjEntityId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:2011219_1
        cycleCalculateExaReportTaskAndCalcCurAndAnceStdDataComReqDto.setEvaObjTypeCode("EVA_OBJECT");//sourceId:2011220_1
        cycleCalculateExaReportTaskAndCalcCurAndAnceStdDataComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:2011224_1
        if (reqDto != null) {
            cycleCalculateExaReportTaskAndCalcCurAndAnceStdDataComReqDto.setApproveCalcScene(reqDto.getApproveCalcScene());//SimpleFieldAssign//sourceId:2011225_1
            cycleCalculateExaReportTaskAndCalcCurAndAnceStdDataComReqDto.setCycleStartTime(reqDto.getCycleStartTime());//SimpleFieldAssign//sourceId:2011221_1
            cycleCalculateExaReportTaskAndCalcCurAndAnceStdDataComReqDto.setBelongToContentId(reqDto.getBelongToContentId());//SimpleFieldAssign//sourceId:2011222_1
            cycleCalculateExaReportTaskAndCalcCurAndAnceStdDataComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:2011223_1
        }

        /*D4循环审核汇报任务并计算当前及祖先标准数据(公共)[9934]   */
        Assert.isNull(cycleCalculateExaReportTaskAndCalcCurAndAnceStdDataComReqDto.getApproveCalcScene(), "B4执行审核汇报任务并计算当前及祖先标准数据-D4循环审核汇报任务并计算当前及祖先标准数据(公共)-审核的计算场景不能为空", false);
        Assert.isNull(cycleCalculateExaReportTaskAndCalcCurAndAnceStdDataComReqDto.getDataUsageSceneCode(), "B4执行审核汇报任务并计算当前及祖先标准数据-D4循环审核汇报任务并计算当前及祖先标准数据(公共)-数据业务场景不能为空", false);
        Assert.isNull(cycleCalculateExaReportTaskAndCalcCurAndAnceStdDataComReqDto.getEvaObjEntityId(), "B4执行审核汇报任务并计算当前及祖先标准数据-D4循环审核汇报任务并计算当前及祖先标准数据(公共)-主树被评对象内容表主键ID不能为空", false);
        Assert.isNull(cycleCalculateExaReportTaskAndCalcCurAndAnceStdDataComReqDto.getEvaObjTypeCode(), "B4执行审核汇报任务并计算当前及祖先标准数据-D4循环审核汇报任务并计算当前及祖先标准数据(公共)-主树被评对象类型编码不能为空", false);
        Assert.isNull(cycleCalculateExaReportTaskAndCalcCurAndAnceStdDataComReqDto.getCycleStartTime(), "B4执行审核汇报任务并计算当前及祖先标准数据-D4循环审核汇报任务并计算当前及祖先标准数据(公共)-周期开始时间不能为空", false);
        Assert.isNull(cycleCalculateExaReportTaskAndCalcCurAndAnceStdDataComReqDto.getBelongToContentId(), "B4执行审核汇报任务并计算当前及祖先标准数据-D4循环审核汇报任务并计算当前及祖先标准数据(公共)-数据归属内容表主键ID不能为空", false);
        Assert.isNull(cycleCalculateExaReportTaskAndCalcCurAndAnceStdDataComReqDto.getEvaluationTemplateId(), "B4执行审核汇报任务并计算当前及祖先标准数据-D4循环审核汇报任务并计算当前及祖先标准数据(公共)-冗余评价模板ID不能为空", false);
        Assert.isNull(cycleCalculateExaReportTaskAndCalcCurAndAnceStdDataComReqDto.getSpaceId(), "B4执行审核汇报任务并计算当前及祖先标准数据-D4循环审核汇报任务并计算当前及祖先标准数据(公共)-创建于空间ID不能为空", false);
        cycleCalculateExaReportTaskAndCalcCurAndAnceStdDataComRespDto = fwCalcTargetCalcClient.cycleCalculateExaReportTaskAndCalcCurAndAnceStdDataCom(cycleCalculateExaReportTaskAndCalcCurAndAnceStdDataComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        BffImplementExaReportTaskAndCalcCurAndAnceStdDataRespDto retData = new BffImplementExaReportTaskAndCalcCurAndAnceStdDataRespDto();


        return retData;
    }

    /**
     * B3执行修正计算当前及祖先规划标准数据[10286]
     * gen by moon at 2/15/2025, 11:42:17 AM
     */
    @Trace(operationName = "B3执行修正计算当前及祖先规划标准数据")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffImplementCalcCurAndAncestorPlanStandardDataRespDto implementCalcCurAndAncestorPlanStandardData(BffImplementCalcCurAndAncestorPlanStandardDataReqDto reqDto) {


        //步骤0: D3执行审核汇报任务并计算当前及祖先标准数据(公共) - implementExaReportTaskAndCalcCurAndAnceStdDataCom
        ImplementExaReportTaskAndCalcCurAndAnceStdDataComRespDto implementExaReportTaskAndCalcCurAndAnceStdDataComRespDto = null;
        ImplementExaReportTaskAndCalcCurAndAnceStdDataComReqDto implementExaReportTaskAndCalcCurAndAnceStdDataComReqDto = new ImplementExaReportTaskAndCalcCurAndAnceStdDataComReqDto();
        implementExaReportTaskAndCalcCurAndAnceStdDataComReqDto.setDataCalcNormalAbnormal("NORMAL_SCENE");//sourceId:2024397_1
        implementExaReportTaskAndCalcCurAndAnceStdDataComReqDto.setStatusBizOptType("AUTO_REPORT_AUTO_EXECUTE");//sourceId:2024337_1
        implementExaReportTaskAndCalcCurAndAnceStdDataComReqDto.setCalcAndRefreshDataType("CALC");//sourceId:2024335_1
        implementExaReportTaskAndCalcCurAndAnceStdDataComReqDto.setExamineOptType("APPROVE");//sourceId:2024327_1
        if (reqDto != null) {
            implementExaReportTaskAndCalcCurAndAnceStdDataComReqDto.setApproveCalcScene(reqDto.getApproveCalcScene());//SimpleFieldAssign//sourceId:2024336_1
            implementExaReportTaskAndCalcCurAndAnceStdDataComReqDto.setCycleStageDataId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:2024329_1
            implementExaReportTaskAndCalcCurAndAnceStdDataComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:2024330_1
            implementExaReportTaskAndCalcCurAndAnceStdDataComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:2024331_1
            implementExaReportTaskAndCalcCurAndAnceStdDataComReqDto.setTargetCycleContentId(reqDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:2024332_1
            implementExaReportTaskAndCalcCurAndAnceStdDataComReqDto.setTargetCycleContentTypeCode(reqDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:2024333_1
            implementExaReportTaskAndCalcCurAndAnceStdDataComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:2024334_1
        }

        /*D3执行审核汇报任务并计算当前及祖先标准数据(公共)[9734]   */
        Assert.isNull(implementExaReportTaskAndCalcCurAndAnceStdDataComReqDto.getDataCalcNormalAbnormal(), "B3执行修正计算当前及祖先规划标准数据-D3执行审核汇报任务并计算当前及祖先标准数据(公共)-数据计算正常与异常场景不能为空", false);
        Assert.isNull(implementExaReportTaskAndCalcCurAndAnceStdDataComReqDto.getStatusBizOptType(), "B3执行修正计算当前及祖先规划标准数据-D3执行审核汇报任务并计算当前及祖先标准数据(公共)-任务转成功状态业务操作类型不能为空", false);
        Assert.isNull(implementExaReportTaskAndCalcCurAndAnceStdDataComReqDto.getCalcAndRefreshDataType(), "B3执行修正计算当前及祖先规划标准数据-D3执行审核汇报任务并计算当前及祖先标准数据(公共)-计算与刷新财务数据类型不能为空", false);
        Assert.isNull(implementExaReportTaskAndCalcCurAndAnceStdDataComReqDto.getApproveCalcScene(), "B3执行修正计算当前及祖先规划标准数据-D3执行审核汇报任务并计算当前及祖先标准数据(公共)-审核的计算场景不能为空", false);
        Assert.isNull(implementExaReportTaskAndCalcCurAndAnceStdDataComReqDto.getExamineOptType(), "B3执行修正计算当前及祖先规划标准数据-D3执行审核汇报任务并计算当前及祖先标准数据(公共)-审核通过或失败操作类型不能为空", false);
        Assert.isNull(implementExaReportTaskAndCalcCurAndAnceStdDataComReqDto.getCycleStageDataId(), "B3执行修正计算当前及祖先规划标准数据-D3执行审核汇报任务并计算当前及祖先标准数据(公共)-周期阶段资料记录ID不能为空", false);
        Assert.isNull(implementExaReportTaskAndCalcCurAndAnceStdDataComReqDto.getEvaObjTargetCycleId(), "B3执行修正计算当前及祖先规划标准数据-D3执行审核汇报任务并计算当前及祖先标准数据(公共)-被评对象目标周期ID不能为空", false);
        Assert.isNull(implementExaReportTaskAndCalcCurAndAnceStdDataComReqDto.getCycleId(), "B3执行修正计算当前及祖先规划标准数据-D3执行审核汇报任务并计算当前及祖先标准数据(公共)-归属周期ID不能为空", false);
        Assert.isNull(implementExaReportTaskAndCalcCurAndAnceStdDataComReqDto.getTargetCycleContentId(), "B3执行修正计算当前及祖先规划标准数据-D3执行审核汇报任务并计算当前及祖先标准数据(公共)-关联目标内容ID不能为空", false);
        Assert.isNull(implementExaReportTaskAndCalcCurAndAnceStdDataComReqDto.getTargetCycleContentTypeCode(), "B3执行修正计算当前及祖先规划标准数据-D3执行审核汇报任务并计算当前及祖先标准数据(公共)-关联目标内容类型编码不能为空", false);
        Assert.isNull(implementExaReportTaskAndCalcCurAndAnceStdDataComReqDto.getEvaluationTemplateId(), "B3执行修正计算当前及祖先规划标准数据-D3执行审核汇报任务并计算当前及祖先标准数据(公共)-冗余评价模板ID不能为空", false);
        implementExaReportTaskAndCalcCurAndAnceStdDataComRespDto = fwAppTargetCalcClient.implementExaReportTaskAndCalcCurAndAnceStdDataCom(implementExaReportTaskAndCalcCurAndAnceStdDataComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        BffImplementCalcCurAndAncestorPlanStandardDataRespDto retData = new BffImplementCalcCurAndAncestorPlanStandardDataRespDto();


        return retData;
    }
    //
}
